<template>
    <el-input v-model="url" placeholder="请输入地址或者标题" w-200>
        <template #prepend>
            <el-button icon="Search" />
        </template>
    </el-input>
</template>

<script setup>
import { ref, watch } from "vue";

const url = ref('')

const emits = defineEmits(['update:url'])

watch(url, (val) => emits('update:url', val))

</script>
